package com.scada.contant;

/**
 * 枚举类
 * 2016-10-14
 *
 */
public class MessageConstants {
	
	/**
	 * 状态（项目里所有同规则下的状态显示）
	 */
	public static enum State {
		
		STATE_SHOW(0, "显示"),STATE_DEL( 1, "删除"),CAR_STATE_DEL(2,"车辆删除");

		State(Integer key, String value) {
			this.key = key;
			this.value = value;
		}

		private Integer key;
		private String value;

		public Integer getKey() {
			return key;
		}

		public String getValue() {
			return value;
		}

	}
	
	/**
	 * NM状态，Hsse里所有状态
	 */
	public static enum NM_STATE {
		
		STATE_UNSUBMITT(0, "未提交"),STATE_SUBMITT( 1, "提交"),STATE_APPROVER( 2, "审批/已分享"),STATE_DEL(3,"删除");

		NM_STATE(Integer key, String value) {
			this.key = key;
			this.value = value;
		}

		private Integer key;
		private String value;

		public Integer getKey() {
			return key;
		}

		public String getValue() {
			return value;
		}

	}
	
	/**
	 * menu里是否为二级或者三级菜单
	 */
	public static enum MenuIsLeft {
		
		MenuIsLeft_0(0, "一级菜单"),MenuIsLeft_1( 1, "二级菜单");

		MenuIsLeft(Integer key, String value) {
			this.key = key;
			this.value = value;
		}

		private Integer key;
		private String value;

		public Integer getKey() {
			return key;
		}

		public String getValue() {
			return value;
		}

	}
	
	/**
	 * 状态（项目里所有同规则下的状态显示）
	 */
	public static enum LoginState {
		
		STATE_ENABLE(0, "启用"),STATE_DISABLE( 1, "禁用"),STATE_DEL(2,"删除");

		LoginState(Integer key, String value) {
			this.key = key;
			this.value = value;
		}

		private Integer key;
		private String value;

		public Integer getKey() {
			return key;
		}

		public String getValue() {
			return value;
		}

	}
	
	//汽车分配枚举
		public static enum CAR_STATE{
			STATE_BINDING(1, "绑定员工"), STATE_UNBINDING(2, "未绑定");

			CAR_STATE(Integer key, String value) {
				this.key = key;
				this.value = value;
			}

			private Integer key;
			private String value;

			public Integer getKey() {
				return key;
			}

			public String getValue() {
				return value;
			}
		}
		
		
	// 员工状态
//		public static enum EMP_STATE{
//			STATE_DIMISSION(1, "离职"), STATE_PAYROLL(0, "在职") , STATE_DEL(3,"删除");
//
//			EMP_STATE(Integer key, String value) {
//				this.key = key;
//				this.value = value;
//			}
//
//			private Integer key;
//			private String value;
//
//			public Integer getKey() {
//				return key;
//			}
//
//			public String getValue() {
//				return value;
//			}
//		}
	
}
